package com.team16.budgetme;

import java.math.BigDecimal;

/**
 * @author Wil Wilhite A holder class for account data.
 */
public class Account {
    private long id;
    private String name;
    private BigDecimal balance;

    public Account() {
    }

    public void setId(long i) {
        id = i;
    }

    public void setName(String n) {
        name = n;
    }

    public void setBalance(BigDecimal b) {
        balance = b;
    }

    public long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public BigDecimal getBalance() {
        return balance;
    }
    
    @Override
    public String toString() {
        return name;
    }
}
